home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Applications / Utilities / SegHoarker / SegHoarker.app / otool.awk < prev    next >
Encoding:
AWK Script  |  1991-12-10  |  168 b   |  14 lines

  1. BEGIN { aa = NULL; }
  2.  
  3. {    if ($1 == "segname" && $2 != aa) {
  4.         printf("%s\n", $2);
  5.         aa = $2;
  6.     }
  7. }
  8.  
  9. {    if ($1 == "sectname" && aa != NULL) {
  10.         printf("\t%s\n", $2);
  11.     }
  12. }
  13.  
  14.